#how do i cover the whole UI while doing jumpscare

1 messages · Page 1 of 1 (latest)

lost escarp
scarlet grove
#

on the screenGui there is a property "IgnoreGuiInset", enable that property

#

@lost escarp

scarlet grove
#

it should work

#

are you sure are you setting it on the right screenGui?

scarlet grove
#

sorry to say but it is not, it should work just by enabling that

lost escarp
scarlet grove
#

?

scarlet grove
#

I don't see there the property

lost escarp
#

Holdon

lost escarp
arctic crownBOT
#

studio** You are now Level 3! **studio

lost escarp
#

i forgot

scarlet grove
#

IgnoreGuiInset

lost escarp
#

aight

lost escarp
scarlet grove
#

Ok, is the frame sized 1 on both scale?

lost escarp
lost escarp
scarlet grove
#

no that

#

the frame

lost escarp
#

oh mb

lost escarp
scarlet grove
#

yeah, it should be 1, 0 in X and 1, 0 in Y

lost escarp
#

alright

south chasm
#

also make sure that in the screen gui, IgnoreGUIInset should be true

#

thats definitely the reason

#

oh nvm some1 alr saids trhat

scarlet grove
#

I've already said that

#

Yep

lost escarp
#

wait no

#

thats the GUI

scarlet grove
#

?

lost escarp
#

i dont think thats how supposed to look like that

scarlet grove
#

it is totally not, revert that because that its not what I supposed it to be

#

Where are you creating the image send all the code

lost escarp
#
script.Parent.MouseButton1Click:Connect(function()
    local jumpscareSound = Instance.new("Sound", workspace)
    jumpscareSound.Name = "JumpscareSound"
    jumpscareSound.Volume = 9999 -- change the volume here
    jumpscareSound.Pitch = 1
    jumpscareSound.SoundId = "rbxassetid://71255870294260" -- jumpscare sound (use roblox audio ID)

    local jumpscareGUI = Instance.new("ScreenGui", nil) 
    jumpscareGUI.Name = "Jumpscare"
    local image = Instance.new("ImageLabel", jumpscareGUI)
    image.Name = "JumpscareImage"
    image.BackgroundColor3 = Color3.new(0, 0, 0)
    image.BorderColor3 = Color3.new(255, 255, 255)
    image.BorderSizePixel = 0
    image.Size = UDim2.new(1, 0, 1, 0) -- Image Size
    image.Image = "http://ww w.roblox.com/asset/?id=137334069255064" -- the jumpscare image
    image.Active = true

    for i, c in pairs(game.Players:GetChildren()) do
        local jumpscareClone = jumpscareGUI:Clone()
        jumpscareClone.Parent = c.PlayerGui
    end
    jumpscareSound:Play()
    wait(2) -- duration
    jumpscareSound:Destroy()
    for i, c in pairs(game.Players:GetChildren()) do
        c.PlayerGui.Jumpscare:Destroy()
    end
end)
#

@scarlet grove

scarlet grove
#

you can see you're creating a new screenGui right there

#

so you would set its IgnoreGuiInset property to true

#

jumpscareGUI.IgnoreGuiInset = true

scarlet grove
lost escarp
#

aight

lost escarp
scarlet grove
#

you cannot

lost escarp
#

?

scarlet grove
#

you cannot be over the core gui

#

you can disable the chat

lost escarp
#

yeah

#

the chat

#

is what im looking for

scarlet grove
lost escarp
#

where to put it at?

#
wait(1)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
#

or this

finite lake