Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a jumpscare with some other effects and death screen?

I'm trying to make an SCP game, so when the "SCP" catches you, he will jumpscare and kill you aswell, then, a death screen appears.

I want to make the death screen image slide from up to down and fade in the same time. Now for the jumpscare.

It will be a "custom animation" I think? It grabs you and crushes you.

**The "effects":

  • When he's close, your screen becomes more and more blurry;
  • You can see some shadows coming out of his body.**

Thanks for answering! :D

1 comment

0

Np!

1 answer

✓ Accepted answer

You want it to slide from the bottom of the screen where it isn't visible, up to the center? Easy enough! We use something called Tween to do this. I had no idea what it is, when I was at your level too! But it's very easy and good.

IMPORTANT!

Make the original frame or imageframe position {0,0,-1,0} or this will not work.

Here's how to tween, this seems more of a request than a question, but I like to help, because then you learn for next time.

Let's start with tweening

--LocalScript!

local player = game.Players.LocalPlayer

function Tween()
	local YourGui = player.PlayerGui.GUINAMEHERE! -- change GUINAMEHERE! to what your GUI is 		 called.
	local YourFrame = YourGui.YOURFRAMENAMEHERE -- [[change YOURFRAMENAMEHERE to the name 	 of your frame in your GUI--]]

	YourFrame:TweenPosition(UDim2.new(0,	0,	0,	0))
end

Now, we must link the function to make it play, so let's do that when the player dies.


player.CharacterAdded:connect(function(char)
	 char.Humanoid.Died:connect(function()
		Tween()
	 end)
end)

Hope I helped, good day!

4 comments

0

It would be nice if you could make a button where it says respawn and you respawn

1

But it works right? Please accept my answer! =D

1

And ask that next if you want, I can do that EASILY man, already answered 3 questions for you even though you're requesting and that's not allowed, =p

0

When I die, it won't load up, or maybe I did something rlly wrong xD

This discussion is preserved as it was. New answers, comments, and votes are closed.