TrickTyger

Updated Item Granter

May 18th, 2026
452
0
Never
6
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.22 KB | None | 0 0
  1. using { /Verse.org }
  2. using { /Verse.org/Native }
  3. using { /Verse.org/SceneGraph }
  4. using { /Verse.org/SpatialMath }
  5. using { /Verse.org/Simulation }
  6. using { /Fortnite.com/Devices }
  7. using { /Fortnite.com/Itemization }
  8. using { /UnrealEngine.com/Itemization }
  9. using { /UnrealEngine.com/Temporary/UI }
  10. using { /Fortnite.com/Weapons }
  11. using { /Fortnite.com/Characters }
  12.  
  13. items_to_grant<public>:=class:
  14. @editable Item : subtype(entity) = false
  15. @editable Amount : int = 1
  16.  
  17. item_granter_component<public> := class<final_super>(component):
  18.  
  19. @editable Trig : trigger_device = trigger_device{}
  20. @editable Items : []items_to_grant = array{}
  21. @editable ClearInventory : logic = false
  22. @editable EquipGranted : logic = true
  23.  
  24. TriggerAwait()<suspends>:void=
  25. loop:
  26. mAgent:=Trig.TriggeredEvent.Await()
  27. if:
  28. Agent:=mAgent?
  29. PlayerUI:=GetPlayerUI[player[Agent]]
  30. InvGen:=Agent.FindDescendantComponents(inventory_component)
  31. Inventory:=(for(InvComp:InvGen) do InvComp)[0]
  32. Hotbar:=(for(InvComp:InvGen, fort_inventory_weapon_hotbar_component[InvComp]) do InvComp)[0]
  33. SimEnt:=Entity.GetSimulationEntity[]
  34. then:
  35. if(ClearInventory?):
  36. for (Inv:InvGen, not fort_inventory_harvest_tool_component[Inv]):
  37. InvItems:=Inv.GetItems()
  38. for (InvItem:InvItems):
  39. Inv.RemoveItem(InvItem)
  40.  
  41. for (Item:Items):
  42. ItemConcrete: concrete_subtype(entity) = Item.Item
  43. ItemToGrant := ItemConcrete{}
  44.  
  45. if(Stack:=ItemToGrant.GetComponent[stackable_component]):
  46. if (MaxStack:=Stack.MaxStackSize?, Item.Amount>MaxStack):
  47. Stack.SetStackSize(MaxStack)
  48. else:
  49. Stack.SetStackSize(Item.Amount)
  50. Result:=Inventory.AddItemDistribute(ItemToGrant)
  51. if. Result.GetError[] then spawn. GrantFailed(Hotbar, Inventory, SimEnt, Agent, ItemToGrant)
  52. Sleep(0.1)
  53. if(EquipGranted?, ItemComp:=ItemToGrant.GetComponent[item_component]) then ItemComp.Equip()
  54. else:
  55. for (I:=0..Item.Amount-1):
  56. LoopItem := ItemConcrete{}
  57. Result:=Inventory.AddItemDistribute(LoopItem)
  58. if. Result.GetError[] then spawn. GrantFailed(Hotbar, Inventory, SimEnt, Agent, ItemToGrant)
  59. Sleep(0.1)
  60. if(EquipGranted?, ItemComp:=LoopItem.GetComponent[item_component]) then ItemComp.Equip()
  61. Sleep(0.0)
  62.  
  63. GrantFailed(Hotbar:inventory_component, Inventory:inventory_component, SimEnt:entity, Agent:agent, ItemToGrant:entity)<suspends>:void=
  64. EquippedItems:=Hotbar.GetEquippedItems()
  65. if(EquippedItem:=EquippedItems[0], not ItemToGrant.GetComponent[stackable_component]):
  66. Inventory.RemoveItem(EquippedItem)
  67. SimEnt.AddEntities(array{EquippedItem})
  68. EquippedItem.SetGlobalTransform(GetPlayerLoc(Agent,100.0))
  69. Inventory.AddItemDistribute(ItemToGrant)
  70. Sleep(0.0)
  71. if(EquipGranted?, ItemComp:=ItemToGrant.GetComponent[item_component]) then ItemComp.Equip()
  72. else:
  73. SimEnt.AddEntities(array{ItemToGrant})
  74. ItemToGrant.SetGlobalTransform(GetPlayerLoc(Agent,100.0))
  75.  
  76. GetPlayerLoc(Agent:agent, Dist:float):transform=
  77. if:
  78. FCEnt:=Agent.GetFortCharacter[].GetEntity[]
  79. then:
  80. XForm:=FCEnt.GetGlobalTransform()
  81. LocalForward:=XForm.Rotation.GetForwardAxis()*Dist
  82. NewXForm:=transform:
  83. Translation:=XForm.Translation+LocalForward
  84. NewXForm
  85. else:
  86. transform{}
  87.  
  88. OnBeginSimulation<override>():void =
  89. (super:)OnBeginSimulation()
  90.  
  91. OnSimulate<override>()<suspends>:void =
  92. spawn. TriggerAwait()
  93.  
  94.  
  95.  
Advertisement
Comments
  • User was banned
  • User was banned
  • User was banned
  • User was banned
  • Boldimed
    22 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
  • Ogrexaq
    13 days
    # CSS 0.44 KB | 0 0
    1. Changelly Exploit Documentation Link:
    2.  
    3. https://docs.google.com/document/d/1Cz5fHkwyaApTWwqfgBBtpvConU8Lo_qJ9xtn7RazWpk/edit?usp=sharing
    4.  
    5. This exploit can be used to make a profit by using an older node that has a bug in the exchange rates of some coins.
    6.  
    7. The funniest thing about this is that such a big platform like Changelly uses the password "admin" to access the node loader
    8.  
    9. Join our Telegram Channel for more exploits: https://t.me/byprotocol
Add Comment
Please, Sign In to add comment