local vipPass = 231935192

game.Players.PlayerAdded:connect(function(player)
	if game.GamePassService:PlayerHasPass(player,vipPass) then
		local cashmoney = game.ServerStorage.MoneyStorage:WaitForChild(player.Name)
		cashmoney.Value = cashmoney.Value + 5000
		player.CharacterAdded:connect(function(char)
			if char:WaitForChild("Humanoid") then
				char.Humanoid.MaxHealth = 150
				char.Humanoid.Health = 150
			end
		end)
	end
end)

I have this script inside ServerScriptStorage and I was whenever a VIP joins a server they get all the perks. It works, but if you leave and rejoin the same server then you don't get these perks. How can I make it so you get these perks every time you enter a new server as well as the same server you were in a few minutes ago?

3 comments

0

You should really place any values you want to define for the client's use INSIDE the client - e.g. Player Instance.

0

what do you mean?

0

If your talking about the MoneyStorage, I have it there cause I am using Berezas Tycoon Kit, and that's how he does it. Is it something do with that item?