Jump to content

About Level System(Time Based)


Khajz

Recommended Posts

Hi everyone im new in scripting and i wanna script a level system

All i want is when player plays in server +5 hours make the player ranked up

exp:

+5 hourse lvl 1

+10hourse lvl2

15hourse lvl3

And how can i show this levels in scoreboard

 

Sorry for my TERRIBLE english :( 

Link to comment
  • Discord Moderators

Its not that terrible, but its 'hours', and not 'hourse'.

Use:

setTimer()

Set it to 60000[1min], and add a minute toPlayedMinute variable[U'll need to save this as an account data btw.], and then do you job.Use some 

if condition then end

And thats it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...