How to Make a FREEZE GUN (Superpower) - Fortnite UEFN

Ойындар

In this tutorial, I go over how to create your own weapon that is able to freeze anyone you shoot with it. You can customize the amount of frozen time, and choose what weapon can freeze players! This is perfect for superhero maps in Fortnite UEFN / Creative 2.0 that give you custom powers for each player.
Chapters:
00:00 - Intro
00:06 - Setup Conditional Button / Weapon to Freeze
00:36 - Setup editables and freeze time
01:00 - Drawing out Freeze logic
02:19 - Creating the OnPlayerDamage function
02:45 - Getting Damage Instigator
04:02 - Checking Instigator Held Weapon
04:40 - Getting Damaged Target
05:19 - Creating Freeze Function
06:29 - Subscribing to DamagedEvent
07:33 - Final Result
08:07 - Disclaimer on Code
08:51 - Subscribing to Players who Joined Midgame
09:54 - What Weapons Can You Use?

Пікірлер: 139

  • @JackTYM
    @JackTYM5 ай бұрын

    This tutorial was amazing, I really loved the way you not only mapped out your thought process but also delved into the docs and showed where you got each part of your code! Very helpful for a dev trying to get into Verse ❤

  • @LionUnchained
    @LionUnchained8 ай бұрын

    Pi meets John Madden episode 1. Really liking the straight to the point useful tutorial series you have going right now. I miss the more complex content, but this is key for onboarding and community growth.

  • @swepttvfx5699
    @swepttvfx56998 ай бұрын

    make an entire series of this 🙏

  • @pain0710
    @pain07103 ай бұрын

    Thanks brother, u help me a lot!

  • @ironstyvas3874
    @ironstyvas38745 ай бұрын

    is it possible to also paste a code in video description next time, because when i copy your code i make mistakes and it's so hard to find them

  • @dariansleigh9492

    @dariansleigh9492

    3 ай бұрын

    Type the code out by hand. It’s easier to get it to behave properly and you get a better understanding of how the code works. If nothing else you’ll better understand visual studio.

  • @markez_9
    @markez_96 ай бұрын

    Awesome tutorial! thx

  • @ichigokurosaki2854
    @ichigokurosaki28545 ай бұрын

    Bro nice vid, but how did you get your other account to join your uefn map? i have privately published my map but cant join on any other accounts?

  • @bbignemo
    @bbignemo5 ай бұрын

    how do I check for shield damage?

  • @skytex_gk
    @skytex_gk8 ай бұрын

    more tutorial all superpowers! :,)

  • @trixn452
    @trixn4525 ай бұрын

    in verse would it be possible to make a sniper do 2x damage but you cant aim down sights

  • @gravyski
    @gravyskiАй бұрын

    FLASHBANGGED OMG

  • @Stutzz
    @Stutzz5 ай бұрын

    Hey could you help us making it work on shield?

  • @Th3MemeG0d
    @Th3MemeG0d5 ай бұрын

    Can you make a tutorial how I can teleport an ice block to the player getting hit

  • @veljamilioner
    @veljamilioner2 ай бұрын

    But how can i put that for example that people/players can buy that superpower with coins and when they buy they get it. Do i need to change the code or how?

  • @NoLimitLuca
    @NoLimitLuca8 ай бұрын

    How do you get into the verse I just started in uefn

  • @smithkangal7262
    @smithkangal72624 ай бұрын

    Could you maybe help me drop the players loot when they get hit by a gun? It would be very nice!

  • @drbogii
    @drbogii3 ай бұрын

    mine works perfectly, but not on shield. any fix for that?

  • @xerpzz
    @xerpzz5 ай бұрын

    how do i get to that freeze verse screen

  • @kdrewstuff
    @kdrewstuff2 ай бұрын

    How can I add my second account in order to try it out?

  • @fenomlol
    @fenomlol3 ай бұрын

    Does it work with damaged shield?

  • @Speedyboyeli
    @Speedyboyeli4 ай бұрын

    im stuck at 7:14 when i click build verse code nothing happens at all

  • @Gav1n1925
    @Gav1n19254 ай бұрын

    Can some one post the code please it says I have these errors I don’t know how to fix

  • @skyzkkacper.5636
    @skyzkkacper.56366 ай бұрын

    at 7:33 how do you get someone to test the gun i cant get anyone to be able to join my world

  • @DROX-_

    @DROX-_

    5 ай бұрын

    yeh same

  • @zoogle1
    @zoogle18 ай бұрын

    how would you make a verse script that causes the player to take damage if you hit a non-player? im trying to learn verse right now because fortnite's self-damage feature doesn't work in my UEFN prop hunt project

  • @piequalsthree3

    @piequalsthree3

    8 ай бұрын

    Ir you shot a prop? The only way to get a damaged event on props is with a prop manipulator. So I guess covering the entire map with a prop manip and then you can damage whoever dealt damage to a prop

  • @zoogle1

    @zoogle1

    8 ай бұрын

    @@piequalsthree3 hey thanks for responding. yeah there doesn't seem to be a very scalable option for what i'm trying to accomplish. i've been scouring the documentation and youtube on how i could do this but it seems Self-Damage doesn't work in UEFN because they don't have the feature implemented yet or something? no one online seems to be talking about this particular problem.

  • @zoogle1

    @zoogle1

    8 ай бұрын

    the goal is to emulate something like Garry's Mod prop hunt that makes the Hunters take damage when they shoot something that isn't a player, to encourage the hunters to attack stuff they think could actually be a player.

  • @piequalsthree3

    @piequalsthree3

    8 ай бұрын

    @@zoogle1 For self damage you can just get whoever damaged a prop using the DamagedEvent, then just apply damage OnPropDamage(Agent : agent) : void = if (FortCharacter := Agent.GetFortCharacter[]): FortCharacter.Damage(50.0)

  • @zoogle1

    @zoogle1

    8 ай бұрын

    @@piequalsthree3 i'll give it a shot!

  • @jlx1923
    @jlx19235 ай бұрын

    I am having difficulties navigating the file locations, can someone please tell me where the code should be located and how I can access the "CreativeDevices" Folder?

  • @DROX-_

    @DROX-_

    5 ай бұрын

    should be in content

  • @user-rm6zd4vi9z
    @user-rm6zd4vi9z4 ай бұрын

    I dont get structs for some reason, why is that?

  • @melian5648
    @melian56488 ай бұрын

    is there a way to change the material of landscapes in sequencers?

  • @piequalsthree3

    @piequalsthree3

    8 ай бұрын

    I guess if you make your own landscape, but otherwise I'm not sure

  • @melian5648

    @melian5648

    8 ай бұрын

    @@piequalsthree3 I tried to change it but it doesn‘t work ig like you said u have to make everything custom but that‘s a lot of work

  • @DomOn144FPS
    @DomOn144FPS8 ай бұрын

    Can you make a tutorial on how to unfreeze another player by shooting them?

  • @jqspr
    @jqspr6 ай бұрын

    Hey ur freeze gun only works when the enemy have no shield. Why is it like that and what do i need to change so its always and not just when the player is white. Tyy

  • @JohnStew-mp1yw

    @JohnStew-mp1yw

    5 ай бұрын

    Did you find a fix for this?

  • @Greyf4ce-BS
    @Greyf4ce-BS8 ай бұрын

    how do i make it when player get hit with shields because for me only works on whites

  • @nappid97

    @nappid97

    7 ай бұрын

    Use DamagedShieldEvent instead of DamagedEvent

  • @Valkies-zj2bi
    @Valkies-zj2bi5 ай бұрын

    How to find key item 1 button

  • @Evilcarrotguy
    @Evilcarrotguy6 ай бұрын

    i copied everything but the freeze device doesnt show up when i drag in the script it just shows user options

  • @anikalopezleon1

    @anikalopezleon1

    6 ай бұрын

    Did you ever find a fix for this?

  • @Jaahrs

    @Jaahrs

    5 ай бұрын

    ever get a fix?

  • @DROX-_

    @DROX-_

    5 ай бұрын

    watch 07:14 press build verse code

  • @Ronen79
    @Ronen795 ай бұрын

    yo bro it effects players only when they get white damage, can you do that with shield also?

  • @gabcote1384

    @gabcote1384

    5 ай бұрын

    Did you find a fix ?

  • @Ronen79

    @Ronen79

    5 ай бұрын

    @@gabcote1384 no:(

  • @benjaminpalacios7894

    @benjaminpalacios7894

    4 ай бұрын

    Use a weapon that make 100 damage

  • @Andrew-ng1fs
    @Andrew-ng1fs5 ай бұрын

    Does anyone know what I have to write to put the Freeze Time variable inside Sleep at 6:01

  • @PengiiiiGameDev

    @PengiiiiGameDev

    5 ай бұрын

    Instead of 2.0 just Write FreezeTime, pretty simple! it should look something like this: Sleep(FreezeTime)

  • @CN3zoz
    @CN3zoz5 ай бұрын

    when i tried to bulid the verse code it says Unexpected "Subscribe" following expression edit: i forgot the dot + after i fixed it i got another problem and i fixed it... noice

  • @raspberry2282
    @raspberry22826 ай бұрын

    this works when the player is white how can we make it to work when they have shield aswell ?

  • @anikalopezleon1

    @anikalopezleon1

    6 ай бұрын

    Did you ever find a fix for this?

  • @JTXAstro
    @JTXAstro8 ай бұрын

    MAKE A FULL SUPERPOWER SERIES!!! ALSO MAKE An aimbot device

  • @LionUnchained

    @LionUnchained

    8 ай бұрын

    That's what you're supposed to do after you learn all of these techniques XD

  • @JTXAstro

    @JTXAstro

    8 ай бұрын

    @@LionUnchained ok but a series would be so fun and useful

  • @ironstyvas3874
    @ironstyvas38745 ай бұрын

    can someone please paste a code to me

  • @RealAlim_
    @RealAlim_4 ай бұрын

    Sorry if this is a dumb question, how do you load 2 players into 1 session?

  • @piequalsthree3

    @piequalsthree3

    4 ай бұрын

    You need to invite them to your team that you create in the Fortnite portal. Also have the project transferred to that team, then you can just join the party and join the session

  • @RealAlim_

    @RealAlim_

    4 ай бұрын

    @piequalsthree3 ah ok is there no way to have a test player join or something

  • @TheLastRespawn
    @TheLastRespawn7 ай бұрын

    i wrote this whole script twice and it still gets errors? what do you think im doing wrong?

  • @liamrussell08

    @liamrussell08

    5 ай бұрын

    ever resolve the problem? verse keeps detecting an issue with "then:"

  • @LucasOliveira-hu2yk

    @LucasOliveira-hu2yk

    5 ай бұрын

    @@liamrussell08 I am facing the same problem. Managed to solve?

  • @LucasOliveira-hu2yk

    @LucasOliveira-hu2yk

    5 ай бұрын

    ​@@liamrussell08I have the same problem, did you manage to solve it?

  • @peepeefr2772
    @peepeefr27728 ай бұрын

    is there a way to make a life leech effect(not in uefn)

  • @piequalsthree3

    @piequalsthree3

    7 ай бұрын

    Maybe, I made one with Verse if you want

  • @Verzour

    @Verzour

    6 ай бұрын

    May you send me the life leech effect? Im making a map with super powers and would love to use that.. do you have any others?@@piequalsthree3

  • @GoldStudio_
    @GoldStudio_8 ай бұрын

    Hi, my Target is just underlined red for no reason..

  • @LucasOliveira-hu2yk

    @LucasOliveira-hu2yk

    5 ай бұрын

    Did you manage to solve it? I have the same problem, I spent hours modifying the code and I didn't find the solution.

  • @JTXAstro
    @JTXAstro8 ай бұрын

    @Pi Equals Three Can we pls make a map together?

  • @piequalsthree3

    @piequalsthree3

    8 ай бұрын

    Sounds fun but, I’m not able to atm haya

  • @the_shadow6973
    @the_shadow69735 ай бұрын

    Can it also be done in Creative 1.0?

  • @BarbieFan431

    @BarbieFan431

    5 ай бұрын

    nope

  • @beelzelred
    @beelzelred4 ай бұрын

    can u give code

  • @nimna_bro_
    @nimna_bro_5 ай бұрын

    please send code

  • @Gustavo-ot3hz
    @Gustavo-ot3hz6 ай бұрын

    Hey, for some reason this code only works when the enemy has no shield. Is there any way to fix this? Anyways, great video bro!

  • @JohnStew-mp1yw

    @JohnStew-mp1yw

    5 ай бұрын

    Did you find a fix for this?

  • @creatorcuber
    @creatorcuber8 ай бұрын

    I hate to be one of 'those' commenters, but I'm struggling to make aimbot in verse. I'm using the FortCharacter and SpatialMath modules to get the information and execute the player rotation, but there's so much more math than I thought there would be in terms of turning a player's location into another player's rotation. If you have any idea how to do it, I'd greatly appreciate it, and I'm sure a video about making aimbot in UEFN would catch the attention of many people. Thanks a ton for all the tutorials, I wouldn't know anything about Verse without them!

  • @LucasOliveira-hu2yk
    @LucasOliveira-hu2yk5 ай бұрын

    When I have the item defined by the conditional button in hand and I receive damage from the storm, I freeze, how do I resolve it?

  • @piequalsthree3

    @piequalsthree3

    5 ай бұрын

    You would have to in the if statement just make sure that the Target and the Instigator are not the same, since storm damage is counted as self inflicted damage

  • @LucasOliveira-hu2yk

    @LucasOliveira-hu2yk

    5 ай бұрын

    @@piequalsthree3 Would it be that way? not (Agent = Target) or Agent Target

  • @LucasOliveira-hu2yk

    @LucasOliveira-hu2yk

    5 ай бұрын

    @@piequalsthree3 Also try this way. Instigator Target But I get error: This function parameter expects a value of type tuple(comparable,comparable), but this argument is an incompatible value of type tuple(game_action_instigator,fort_character) Can you help me?

  • @piequalsthree3

    @piequalsthree3

    5 ай бұрын

    @@LucasOliveira-hu2yk That's because you're comparing a game action instigator with a fort_character. You first need to cast the Instigator to a fort_character. Since you already have the Agent, you can just do FortInstigator := Agent.GetFortCharacter[] FortInstigator Target

  • @LucasOliveira-hu2yk

    @LucasOliveira-hu2yk

    5 ай бұрын

    @@piequalsthree3 WOW YOU ARE EVERYTHING! I don't know how to thank you, I've been suffering from this for hours.

  • @TheRealTerraPulsar
    @TheRealTerraPulsar4 ай бұрын

    For some reason on my map this doesn’t work for the first shot, it doesn’t freeze the enemy with the first shot but rather the enemy needs to be hit atleast twice for it to actually freeze them, any ideas on how to fix it

  • @zsomb1356

    @zsomb1356

    4 ай бұрын

    same here, have you found a fix?

  • @benjaminpalacios7894

    @benjaminpalacios7894

    4 ай бұрын

    Use a weapon that make 100 damage

  • @TheRealTerraPulsar

    @TheRealTerraPulsar

    4 ай бұрын

    @@benjaminpalacios7894 I mean most weapons don't do bodyshot 100 i would have to use a sniper, and i feel like using a sniper would be dumb for a freeze gun, especially cause my map is primary going to be close range fights. I'll still test it to see if u are right but it doesn't make sense why that would be the case

  • @GUN5CREATIVE

    @GUN5CREATIVE

    3 ай бұрын

    did you find a fix? @@TheRealTerraPulsar

  • @user-rm6zd4vi9z
    @user-rm6zd4vi9z4 ай бұрын

    how do i even open the verse code lol

  • @Ucehyi
    @Ucehyi8 ай бұрын

    guy sstop asking for fgull tutorials on everything. learn and take your time and then amke good maps :D

  • @TengriAteisttir
    @TengriAteisttir5 ай бұрын

    Paste the Code Please

  • @NoLimitLuca
    @NoLimitLuca8 ай бұрын

    BRO HOW DO YOU GET INTO THE VERSE 0:36

  • @piequalsthree3

    @piequalsthree3

    8 ай бұрын

    You can press the Verse button in top

  • @hidryy
    @hidryy5 ай бұрын

    How do i make it so i can only freeze them once every few seconds like there should be a cooldown

  • @DROX-_

    @DROX-_

    5 ай бұрын

    choose a gun that needs long reload time one bullet per shot

  • @derrickgamez2190
    @derrickgamez21908 ай бұрын

    is there a way to make multiple guns freeze players

  • @zululive

    @zululive

    5 ай бұрын

    just change the gun for the button

  • @Swea1z
    @Swea1z5 ай бұрын

    is anyone getting an issue where the first shot doesnt freeze the player but the second shot does

  • @Tommy-wu8uv

    @Tommy-wu8uv

    5 ай бұрын

    yeah, somehow it needs one of type of damage to the player first

  • @Swea1z

    @Swea1z

    5 ай бұрын

    @@Tommy-wu8uv yeah I fixed it

  • @Tommy-wu8uv

    @Tommy-wu8uv

    5 ай бұрын

    oh nice, how did you do it?@@Swea1z

  • @Swea1z

    @Swea1z

    5 ай бұрын

    @@Tommy-wu8uv ngl I went into a discord and asked someone to send their code

  • @Tommy-wu8uv

    @Tommy-wu8uv

    5 ай бұрын

    Ah I see, would u mind sharing it?@@Swea1z

  • @Sunny-lk6uo
    @Sunny-lk6uo6 ай бұрын

    hey man, ive sent you an emailing regarding an issue ive come across. a reply would be awesome! thanks.

  • @ClapzyFNBR
    @ClapzyFNBR3 ай бұрын

    doesnt work

  • @Elutai
    @Elutai6 ай бұрын

    bro you couldve made a copy paste in the comments but no, you expect anyone to type this shit out manually? why even bother making videos on it?

  • @piequalsthree3

    @piequalsthree3

    6 ай бұрын

    It’s John Madden Episode 1

  • @Elutai

    @Elutai

    6 ай бұрын

    @@piequalsthree3 huh

  • @piequalsthree3

    @piequalsthree3

    6 ай бұрын

    @@Elutai I met John Madden Episode 1

  • @CosmicDoesMagic

    @CosmicDoesMagic

    5 ай бұрын

    haha@@piequalsthree3

  • @drbogii

    @drbogii

    3 ай бұрын

    could u please help make it freeze on shield damage, because it doesnt and i do NOT know verse💯💀💀@@piequalsthree3

  • @trumpedev1
    @trumpedev12 ай бұрын

    you have discord ?

  • @Reverse2k
    @Reverse2k5 ай бұрын

    you got twitter?

  • @VZ4EE

    @VZ4EE

    5 ай бұрын

    jajaja

Келесі