Discord Silly Scripts

Silly Soap

Silly Soap

โ‚ฌ5.87

Add to Basket

๐Ÿงผ Silly Soap โ€“ Slip Trap Item (RedM / VORP / RSGCore)

Drop a bar of soap in front of you and watch players, NPCs, and animals wipe out in classic slapstick fashion. Built for RedM with a clean multi-framework bridge (VORP or RSGCore, auto-detected), DE / EN / ES / FR locales, and automatic item DB setup.

Silly Soap

๐ŸŽฌ Watch Video Preview

โœจ Features

  • ๐Ÿงผ Usable item โ€” use seife to place a soap prop (p_soap01x) in front of the player
  • ๐Ÿคธ Slip & ragdoll โ€” players, NPCs, and animals within TriggerRadius (2 m) go flying
  • ๐Ÿ”ข Per-player limit โ€” max 3 active soaps per player
  • โฑ๏ธ Auto cleanup โ€” soap disappears after 2 slips or 10 minutes
  • ๐ŸŽ’ Owner pickup โ€” place owner can press [E] to pick up and get the item back (when RemoveItem is enabled)
  • ๐ŸŒ Multi-Framework: VORP or RSGCore (auto-detected) + standalone notify fallback
  • ๐ŸŒ Multilingual: Config.Language โ†’ DE / EN / ES / FR
  • ๐Ÿ“ฆ DB setup โ€” db_setup.lua auto-creates the item on first start (oxmysql)
  • ๐Ÿ“ฆ Escrow-friendly: config.lua + locales are escrow_ignore'd

โœ… Dependencies

  • RedM
  • VORP Core or RSGCore (auto-detected)
  • VORP Inventory (when using VORP) / RSGCore inventory (when using RSGCore)
  • oxmysql (optional โ€” only for automatic item DB setup)

๐Ÿ“ฆ Installation

  1. Place the resource so the folder with fxmanifest.lua is named Silly_Soap.

  2. Ensure it in your server.cfg:

    ensure Silly_Soap
    
  3. The item seife is auto-created on first start via db_setup.lua (requires oxmysql) โ€” no SQL import needed.

  4. Tune placement, slip radius, limits, and pickup in config.lua.

  5. Set language: Config.Language = 'DE' | 'EN' | 'ES' | 'FR'.

โš™๏ธ Configuration (config.lua)

Framework & item

  • Config.Framework โ€” 'auto' / 'vorp' / 'rsgcore' / 'standalone'
  • Config.Language โ€” 'DE' / 'EN' / 'ES' / 'FR'
  • Config.Item / Config.ItemName โ€” default seife
  • Config.ItemLabels โ€” display label (default Seife)
  • Config.Prop โ€” world prop model (p_soap01x)

Placement & slip

  • Config.PlaceDistance โ€” how far in front of the player the soap is placed
  • Config.TriggerRadius โ€” slip detection radius around the soap (default 2 m)
  • Config.RagdollTime / Config.PersonCooldown โ€” ragdoll duration and per-entity cooldown
  • Config.AffectNPCs / Config.AffectAnimals โ€” toggle NPC and animal slipping

Limits & pickup

  • Config.MaxActivePerPlayer โ€” max soaps placed at once (default 3)
  • Config.MaxSlips โ€” soap removed after this many slips (default 2)
  • Config.Lifetime โ€” auto-remove after ms (default 10 min)
  • Config.RemoveItem โ€” consume item on place; return on owner pickup
  • Config.AllowOwnerPickup / Config.PickupDistance / Config.PickupControl

๐ŸŽฎ In-Game Flow

  1. Player uses the seife item from inventory.
  2. Server validates active soap count and grants a one-time place permission.
  3. Client places the soap prop on the ground in front of the player.
  4. Anyone (or anything) stepping within 2 m ragdolls โ€” up to 2 times before the soap vanishes.
  5. Owner can press [E] to pick the soap back up and regain the item.
  6. Soap auto-removes after 10 minutes if not picked up.

๐ŸŒ Multi-Framework Support

| Feature | VORP | RSGCore | |---|---|---| | Usable item | โœ… vorp_inventory:registerUsableItem | โœ… RSGCore.Functions.CreateUseableItem | | Remove / add item | โœ… vorp_inventory:subItem / addItem | โœ… Player.Functions.RemoveItem / AddItem | | Notifications | โœ… vorp:TipBottom | โœ… RSGCore:Notify |

๐Ÿ“ Notes

  • Internal events use the silly_seife:* namespace.
  • Server gates silly_seife:place โ€” only allowed after a successful item use.
  • Item is auto-created by db_setup.lua on first start โ€” no items.sql import required.
  • Fully escrow-friendly โ€” config.lua and locales/* are in escrow_ignore.
Back to category