#how do i cover the whole UI while doing jumpscare
1 messages · Page 1 of 1 (latest)
on the screenGui there is a property "IgnoreGuiInset", enable that property
@lost escarp
It didnt do anything
sorry to say but it is not, it should work just by enabling that
?
I don't see there the property
Holdon
what are you looking to see
** You are now Level 3! **
i forgot
IgnoreGuiInset
aight
Ok, is the frame sized 1 on both scale?
yes
oh mb
this one?
yeah, it should be 1, 0 in X and 1, 0 in Y
alright
also make sure that in the screen gui, IgnoreGUIInset should be true
thats definitely the reason
oh nvm some1 alr saids trhat
?
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
alright
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
you can see you're creating a new screenGui right there
so you would set its IgnoreGuiInset property to true
jumpscareGUI.IgnoreGuiInset = true
on where
just below "jumpscareGUI.name = ..."
aight
okay it convered the screen but not the overlay UI
you cannot
?
All you have to do is this: Play in-game in studio, open properties and once you open it, you’ll see “chat” beneath “SoundService”. You click on the chat arrow and you’ll see “ClientChatModules”, copy that and leave the game and then paste it back to the chat. Finally, once you’ve copied and pasted the “ClientChatModules”...
StarterGui:SetCore('ChatActive', false)
where to put it at?
wait(1)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
or this
I would use this, and it goes in a local script anywhere that makes sense (either StarterGui or starterPlayerScripts)