Merge a Spell
Roblox Tycoon Framework with Merging Mechanics and PvP Combat
Merge a Spell is a Roblox game framework that combines merge gameplay with active base raiding. Players gather spell parts on their island, merge matching tiers to create stronger spells, and generate passive cash. They can upgrade their base, activate shields, or launch spells at other players and the central city.
This template is fully configured and ready for release. It includes an integrated shop, datastore saving, and automated visual effects replication.
What you get
- Complete server and client game files.
- Working User Interface templates for shop, codes, leaderboards, index, and rebirths.
- Pre configured island models for up to eight players.
- Default spell mesh assets from tier one to twenty eight.
- Offline cash calculator and server side time tracking scripts.
Core features
Merge gameplay
Players collect spells that spawn on their plot. Walking over a spell picks it up. Dropping a spell near another of the same tier merges them into the next level. The display value scales by two to the power of the tier. The game automatically handles item scaling and colors based on config variables.PvP and city combat
Players can target rival bases or the central city building. Launching a spell consumes the item and starts a cooldown. If a spell lands on an unprotected base, it wipes their spawned items. The city has target zones that pay cash rewards to anyone who hits them.Base upgrades
The base upgrade board allows players to purchase improvements using cash:- Spawn Rate: Spawner interval reduction.
- Spawn Amount: Number of items spawned per cycle.
- Starting Spawn: Starting tier of newly spawned items.
- Base Lock: Activating the base shield protects against enemy launches.
Multipliers and boosts
Players earn more cash through active boosts:- Friend Boost: Bonus income for playing in the same server with friends.
- Premium Boost: Extra cash multiplier for Roblox Premium subscribers.
- Playtime Boost: Scaling rewards based on active session time.
- Group Reward: Free parts claimed via the base info sign if the player is in your Roblox group.
Rebirth system
Once players reach the merge cap, they can rebirth. Rebirthing resets their board and upgrades in exchange for a permanent cash multiplier and a higher spawner capacity cap.BigNum support
The framework uses a BigNum module for all currency calculations. This bypasses the Roblox limit of nine quadrillion, allowing your tycoon economy to scale into octillions and beyond without number overflows.Integrated monetization
All gamepasses and developer products are pre wired to the server. You only need to paste your Robux asset IDs into the products script.Gamepasses
- Auto Merge: Automatically combines matching spells on the plot.
- Double Spawn Speed: Halves the spawner timer interval.
- Double Income: Permanent two times multiplier on all cash earned.
- Quick Cooldown: Halves the launch cooldown timer.
- Quicker Cooldown: Reduces the launch cooldown timer by seventy five percent.
- Double Spell Health: Increases spell durability.
- Respawn Parts: Restores merged spells after a base wipe.
Developer products
- OP Spell: A one shot super launch that destroys target bases.
- Instant Shield: Activates the plot lock shield immediately.
- Skip Cooldown: Instantly resets the launch cooldown.
- Starter Pack: Cash and spell parts bundle for new players.
- Rebuild Plot: Restores the plot layout immediately after a wipe.
- Spell Packs: Six different products ranging from ten to ten thousand spell parts.
- Gift Packs: Six products to purchase spell parts for other players on the server.
- Cash Multipliers: Eight purchase tiers scaling from two times to two hundred fifty six times income.
Architecture and security
- Server Authority: Every merge, pickup, and purchase request is verified on the server. The client only sends requests and renders visual state. It is impossible to exploit cash or items.
- ProfileStore Integration: Save files use ProfileStore to manage player data. It saves cash, upgrades, discovered items, codes redeemed, and playtime.
- Idempotent Purchases: Developer product purchases check transaction history to prevent double spending. Product effects are applied only after successful data saving.
- Automated Asset Setup: Placing a mesh in the items folder adds it to the merge chain. The game generates the index page and models automatically.
Setup in three steps
- Publish your project to Roblox and enable API Services under Game Settings.
- Drop your spell models in ReplicatedStorage.Items and name them numerically.
- Paste your gamepass and developer product IDs in ReplicatedStorage.Shared.Products.
Requirements
- Roblox Studio
- ProfileService module (already included)
