Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How to make double EXP gamepass for RPG game?

I've been researching since the last twelve hours and couldn't even find anything relevant to this. How do I make the monsters give Player that have the Pass double EXP when they kill it? I know I didn't provide a script because I have no clue how to do this, but just give me a general idea, thanks.

2 comments

1

You'll have to make it check if the player has the pass before awarding any xp and then give the right amount of xp

0

ohhh, I get it, thank!

1 answer

local mpService = game:GetService("MarketplaceService")
local doubleEXP = 0

function hasDoubleEXP(plr)
	if mpService:PlayerOwnsAsset(plr, doubleEXP) then return true end
	return false
end

1 comment

0

Explain_Your_Code

This discussion is preserved as it was. New answers, comments, and votes are closed.