InfiniteGunGame
using { /Fortnite.com/Devices } using { /Fortnite.com/Characters } using { /Verse.org/Simulation } using { /Verse.org/Random } using { /UnrealEngine.com/Temporary/Diagnostics }
GunGame := class(creative_device): @editable EliminationManager : elimination_manager_device = elimination_manager_device{} @editable AllItemGranters : []item_granter_device = array{}
OnBegin<override>()<suspends>:void=
Print("GameStarted")
EliminationManager.EliminationEvent.Subscribe(GiveRandomWeapon)
GiveRandomWeapon(MaybeAgent:?agent):void=
if(Agent:=MaybeAgent?):
ItemGranterInt := GetRandomInt(0, AllItemGranters.Length-1)
Print("RandomNumberIs{ItemGranterInt}")
if(RandomWeaponGranter := AllItemGranters[ItemGranterInt]):
RandomWeaponGranter.GrantItem(Agent)
Print("WeaponWasGivennToTheAgent")
Version
1.0.0
File Size
884.0 B
Published
Apr 16, 2026
Last Updated
Apr 17, 2026
Technical specs
| Spec | Value |
|---|---|
| Category | Verse Scripts |
| Tags | fortnite-creative, uefn, verse |
| Polycount | — |
| Triangles | — |
| Primary format | See package / description |
| Engine | UEFN / Fortnite Creative |
| Package size | 884 B |
| Version | 1.0.0 |
| Last updated | 2026-04-17 |
Reviews
(0 reviews)
Loading reviews...
Questions & Answers
Loading questions...