Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local ArrayField = loadstring(game:HttpGet('https://raw.githubusercontent.com/UI-Interface/ArrayField/main/Source.lua'))()
- local Window = ArrayField:CreateWindow({
- Name = "doors entity spanwer",
- LoadingTitle = "hope you enjoy",
- LoadingSubtitle = "script by eshaanopn ui by Ttvpro143134",
- ConfigurationSaving = {
- Enabled = true,
- FolderName = nil, -- Create a custom folder for your hub/game
- FileName = "ArrayField"
- },
- Discord = {
- Enabled = false,
- Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
- RememberJoins = true -- Set this to false to make them join the discord every time they load it up
- },
- KeySystem = false, -- Set this to true to use our key system
- KeySettings = {
- Title = "Untitled",
- Subtitle = "Key System",
- Note = "No method of obtaining the key is provided",
- FileName = "Key", -- It is recommended to use something unique as other scripts using ArrayField may overwrite your key file
- SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
- GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like ArrayField to get the key from
- Actions = {
- [1] = {
- Text = 'Click here to copy the key link <--',
- OnPress = function()
- print('Pressed')
- end,
- }
- },
- 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")
- }
- })
- local coustomEntitysTab = Window:CreateTab("Main Entitys", nil) -- Title, Image
- local coustomEntitysSection = coustomEntitysTab:CreateSection("Have fun 😉",false) -- The 2nd argument is to tell if its only a Title and doesnt contain element
- ArrayField:Notify({
- Title = "you executed the scripts",
- Content = "mainly by eshaanopn",
- Duration = 6.5,
- Image = nil,
- Actions = { -- Notification Buttons
- Ignore = {
- Name = "Okay!",
- Callback = function()
- print("The user tapped Okay!")
- end
- },
- },
- })
- local Button = coustomEntitysTab:CreateButton({
- Name = "Obama 💀",
- Interact = 'Click',
- Callback = function()
- local Spawner = loadstring(game:HttpGet("https://raw.githubusercontent.com/RegularVynixu/Utilities/main/Doors%20Entity%20Spawner/Source.lua"))()
- -- Create entity
- local entityTable = Spawner.createEntity({
- CustomName = "Obama", -- Custom name of your entity
- Model = "8232289546", -- Can be GitHub file or rbxassetid
- Speed = 100, -- Percentage, 100 = default Rush speed
- DelayTime = 2, -- Time before starting cycles (seconds)
- HeightOffset = 0,
- CanKill = false,
- KillRange = 50,
- BackwardsMovement = false,
- BreakLights = true,
- FlickerLights = {
- true, -- Enabled/Disabled
- 1, -- Time (seconds)
- },
- Cycles = {
- Min = 1,
- Max = 4,
- WaitTime = 2,
- },
- CamShake = {
- true, -- Enabled/Disabled
- {3.5, 20, 0.1, 1}, -- Shake values (don't change if you don't know)
- 100, -- Shake start distance (from Entity to you)
- },
- Jumpscare = {
- true, -- Enabled/Disabled
- {
- Image1 = "rbxassetid://10483855823", -- Image1 url
- Image2 = "rbxassetid://10483999903", -- Image2 url
- Shake = true,
- Sound1 = {
- 10483790459, -- SoundId
- { Volume = 0.5 }, -- Sound properties
- },
- Sound2 = {
- 10483837590, -- SoundId
- { Volume = 0.5 }, -- Sound properties
- },
- Flashing = {
- true, -- Enabled/Disabled
- Color3.fromRGB(255, 255, 255), -- Color
- },
- Tease = {
- true, -- Enabled/Disabled
- Min = 1,
- Max = 3,
- },
- },
- },
- CustomDialog = {"Bru", "_You died to rush who rebounds", "good luck", "on surviving."}, -- Custom death message
- })
- -----[[ Debug -=- Advanced ]]-----
- entityTable.Debug.OnEntitySpawned = function()
- print("Entity has spawned:", entityTable)
- end
- entityTable.Debug.OnEntityDespawned = function()
- print("Entity has despawned:", entityTable)
- end
- entityTable.Debug.OnEntityStartMoving = function()
- print("Entity has started moving:", entityTable)
- end
- entityTable.Debug.OnEntityFinishedRebound = function()
- print("Entity has finished rebound:", entityTable)
- end
- entityTable.Debug.OnEntityEnteredRoom = function(room)
- print("Entity:", entityTable, "has entered room:", room)
- end
- entityTable.Debug.OnLookAtEntity = function()
- print("Player has looked at entity:", entityTable)
- end
- entityTable.Debug.OnDeath = function()
- warn("Player has died.")
- end
- ------------------------------------
- -- Run the created entity
- Spawner.runEntity(entityTable)
- end,
- })
Add Comment
Please, Sign In to add comment