#Help please

192 messages · Page 1 of 1 (latest)

quiet wagon
#

someoen knows?

tall glacier
#

I didn't understand really well, if you want the script in the server interact with the client use RemoteEvents

quiet wagon
#

i mea

#

n

#

spanish?

wide cairn
#

???

#

can you evaluate it?

quiet wagon
#

wdym

wide cairn
#

cause im a bit confused

quiet wagon
#

i put a leaderboard

#

like this

wide cairn
# quiet wagon

so you want to change the Punch Value and after it reaches a certain amount of punches you reach a new level?

quiet wagon
#

no

#

i mean this

wide cairn
#

then what

quiet wagon
#

when i click it, it doesnt change from level 0 to redubll

ancient sinewBOT
#

studio** You are now Level 1! **studio

wide cairn
quiet wagon
#

bc when i click it it doesnt change

#

but imo its bc the leaderboard is on svs, and the script for the podium is on a piece

wide cairn
#

Find the player who clicked it,

search their players > leaderboard stats > level thingy

and change its values

quiet wagon
#

ok

#

is it like

#

find.player

#

or smth like that?

wide cairn
#

nah

#

i would explain more but i gotta sleep

#

so goodluck!

quiet wagon
#

ok

tall glacier
#

use RemoteFunction to send a message to the server and make it so the thing in the leaderboard changes when the RemoteFunction is fired

quiet wagon
#

like

quiet wagon
tall glacier
quiet wagon
#

ty

quiet wagon
#

in the click detector or serverscript service

tawny trout
quiet wagon
#

oo

#

k ill do it

tawny trout
#

One server that listens for the remote function to increase your level, and one client to detect the click and trigger the remote function

quiet wagon
#

oh

#

ok

#

tysm

tawny trout
#

Np

quiet wagon
#

the server one goes in the svs

#

?

tawny trout
#

Yes server script service

quiet wagon
#

k

#

ty

tawny trout
#

And the one in client you can put it wherever you want

#

In starter player, starter gui or starter character

quiet wagon
#

k

ancient sinewBOT
#

studio** You are now Level 2! **studio

quiet wagon
#

ty

#

wait

#

shouldnt it be on the click thing

tawny trout
quiet wagon
#

look

tawny trout
quiet wagon
#

yes

tawny trout
#

You don't need local script and remote function then

quiet wagon
#

oh

tawny trout
#

Show me your script in the part

quiet wagon
#

the script isnt in the part

#

its in the click detector

tawny trout
#

Ok show me your script

quiet wagon
#

like

#

it doesnt do anything

tawny trout
#

You want it to increase your level right

quiet wagon
#

i want when i click that, instead of level 0 it says redbull

tawny trout
#

Not a blue one

quiet wagon
#

yes

quiet wagon
tawny trout
#

Yes ok then you will have to learn how to script haha

#

So

#

First detect when someone clicks on your thingy

quiet wagon
#

i know a few things

#

do i remove all the script?

#

bc it doesnt do anything

#

lol

tawny trout
# quiet wagon

Here, you should do something like that

local clickDetect = script.Parent

local function onClick(who: Player)
  print(who.Name)
end

clickDetect.MouseClick:Connect(onClick)
quiet wagon
#

HOW

#

HELP

tawny trout
quiet wagon
#

k

#

how did u make it so fast

tawny trout
#

It should print the player name

tawny trout
quiet wagon
#

let me test it

tawny trout
#

For now it shouldn't increase your level

quiet wagon
#

Ooh

#

i think i know how

tawny trout
#

Does it display your name m

#

?

quiet wagon
#

where

tawny trout
#

When you click

quiet wagon
#

let me see

tawny trout
quiet wagon
#

Im sorry but it didnt do anything

tawny trout
#

???

#

Does it display your player name when you click ?

#

That's what I'm asking haha

quiet wagon
#

WAIT

#

should that script be on the click detector

tawny trout
# quiet wagon wdym

Well rn the script should display (you know what display means) your player name when you click on the thing

tawny trout
tawny trout
quiet wagon
#

oh

tawny trout
#

Replace your script by the one I sent

quiet wagon
#

ik i speak spanish and im not so fluent on english

#

so

#

i did

tawny trout
#

The one shouldn't even compile

quiet wagon
#

do i make another script in svs ? (i will make that script)

tawny trout
#

No

#

Show me your explorer and the script

#

Like a screenshot of the whole script

quiet wagon
tawny trout
#

Go to view -> output

quiet wagon
#

sorry, im not understanding where the output should be

#

i dont understand the whole english xd

tawny trout
#

Vista

#

VISTA

quiet wagon
#

ohh

#

YES

tawny trout
#

Then

#

The traduction for output

quiet wagon
#

ok let me do it

#

make an arrow where the output should be hehe

ancient sinewBOT
#

studio** You are now Level 3! **studio

quiet wagon
tawny trout
#

You didn't clicked on vista

#

Click on VISTA

#

On top

quiet wagon
#

YES

#

THERE

#

IK

tall glacier
#

ve a vista y a lado de propiedades hay un montón de botonsitos, uno debería decir salida o algo así

tawny trout
tawny trout
quiet wagon
#

ok

#

my username?

tawny trout
#

Yes

#

So?

quiet wagon
#

i prob did something wrong

tawny trout
#

?

#

It doesnt show it ?

quiet wagon
#

no

tawny trout
#

My bad

tawny trout
#

Check that

quiet wagon
#

oh

tawny trout
#

Replace the script by that

quiet wagon
#

did i change the script?

tawny trout
#

Wait

tawny trout
#

I changed the script

quiet wagon
#

by this?

#

local clickDetect = script.Parent

local function onClick(who: Player)
print(who.Name)
end

clickDetect.Clicked:Connect(onClick)

#

i eman

#

mean

tawny trout
#

Not that

#
local clickDetect = script.Parent

local function onClick(who: Player)
  print(who.Name)
end

clickDetect.MouseClick:Connect(onClick)
#

It's mouseXlick

quiet wagon
#

Ohh

#

letm e see

tawny trout
#

And play again

quiet wagon
#

YEAS

tawny trout
#

The logs changed when you play

tawny trout
quiet wagon
#

YAY

#

Yes

#

tysm

tawny trout
#

Alright

#

Now you need to actually change the level

quiet wagon
#

that would be in