#when a player a sees a part but player b can't

218 messages · Page 1 of 1 (latest)

magic plaza
#

Hi I needed help with my script so when i was testing the game with two players when one players touches the part they get 1 point and then the part disappears but i also want it so if they're so many people in the game they should also be seeing the part so they can interact with it thank you and i will show you my code and a clip!

west terrace
#

Then the others will still be able to see it. Including players that join later

magic plaza
#

let me try that

#

stay here please

#

can i send a link

#

am i allowed to

#

??

rustic field
# magic plaza let me try that

also add a check to see if the player already has the part so an exploiter cant just not delete the part and touch it infinite times for infinite points

magic plaza
#

Alex

#

can i add you to a collbrate

#

if possible

rustic field
#

sure

magic plaza
#

k add me on roblox first

#

then i can let you edit

rustic field
#

ok

#

your name?

magic plaza
#

GamerBoyPlayzMakex

#

Alex

#

you there

rustic field
#

ye

magic plaza
#

send me a request on roblox

rustic field
#

i send

magic plaza
#

is it system

pallid locustBOT
#

studio** You are now Level 9! **studio

magic plaza
#

Check your roblox studio

rustic field
#

im there

magic plaza
#

k

#

lets do it

rustic field
#

test?

magic plaza
#

no

#

you know lets start the project

rustic field
#

how do we both test it

#

oh nvm

magic plaza
#

Alex

#

we can both test it

#

join me

#

okay in roblo

#

roblox

rustic field
#

i am in roblox studio

magic plaza
#

join me in roblox then i will show you

rustic field
#

you are not in any game

magic plaza
#

i am

#

we have to reset the data

#

data storage

#

rejoin

#

Alex are you going to join

#

@rustic field

rustic field
magic plaza
#

join me

rustic field
#

so i can join you

magic plaza
#

i am already

#

refresh the page

rustic field
#

refreshed

magic plaza
#

i close studio

rustic field
#

maybe you can join me?

magic plaza
#

sure!

#

are you in the game

rustic field
#

im joining

magic plaza
#

u in

#

@rustic field

#

@magic plaza

#

@rustic field

rustic field
#

im in

#

im lagging a little bit

magic plaza
#

k joining

rustic field
magic plaza
#

its proabbly your graphics

rustic field
#

my browser also crashed

rustic field
#

i mean

#

laptop

magic plaza
#

so then i can't interact with the

#

part again

rustic field
#

not even after you rejoin?

#

@magic plaza

magic plaza
#

yes

#

thats already done

#

if i rejoin i can't see the part

#

i already did that so when the player rejoins they can't see the part again

rustic field
#

k

pallid locustBOT
#

studio** You are now Level 6! **studio

magic plaza
#

made your job easier

rustic field
#

just delete the part on the client

magic plaza
#

wdym

rustic field
#

@magic plaza see if it works

magic plaza
#

alr lets

#

reset the datastore

#

let me do that

#

you going to join

rustic field
#

joined

#

ok

#

try not

#

it should fix the other problem too

magic plaza
#

if leaderstats and not player:FindFirstChild("AlreadyGot72r38ti76adf") then

#

what is the that big name for

rustic field
#

i mean

#

it can have any name

#

so i just spammed my keyboard

magic plaza
#

oh okay

#

good job

rustic field
#

so it wont have the name of anything else

magic plaza
#

your the best

rustic field
#

now we test

#

did you reset leaderstats?

magic plaza
#

no

#

oops

rustic field
#

wait

#

i tested and

#

i got 7 points

#

oh wait you didnt publish yet

magic plaza
#

i did publish

rustic field
#

so uh

#

it dosent save

magic plaza
#

ik

#

when i rejin

#

rejoin

#

i can see the part still

#

i have someone to

#

can i invite him

#

@safe vapor

rustic field
#

wait

#

can you save the player

#

with the part

#

because rn

#

you save if the part was touched

safe vapor
#

What is getting saved?

#

The Points?

magic plaza
#

no so what happens is when we touch the part

#

and we rejoin

#

the points dont save and the part does not disappears

#

and we already touched it

safe vapor
#

Alright ill make you a datastore

magic plaza
#

there is already one

#

in the sss

safe vapor
#

Well then its broken

#

Ill take a look at it

magic plaza
#

k add me on roblox first

#

then i can

safe vapor
#

I did

rustic field
magic plaza
#

what is ur username

safe vapor
#

1q_87

magic plaza
#

oh okay

#

k done

#

hop in the game

rustic field
#

i think ima go

#

its 1 am

#

bye

magic plaza
#

bye Alex

#

thanks for you help man

#

appericate it

rustic field
#

np

magic plaza
#

Alex where are you from

rustic field
#

romania

safe vapor
#

Why are we using 2 DataStores though

safe vapor
rustic field
#

btw maybe you can save the part when you save the players points

magic plaza
#

idk tom

rustic field
#

like make a value in the player "has touched part"

#

or something

safe vapor
#

Yea

rustic field
#

because right now you just store if it was touched for everyone

magic plaza
#

idk?

rustic field
#

so if someone touches it, it counts as everyone touched it

safe vapor
#

No

#

Thats not right

rustic field
#

?

safe vapor
#

The player that touched the part gets the Value written to himself not others

rustic field
#

i mean "so if someone touches it, it counts as everyone touched it" like if he dosent do the value thing this happens

#

like

#

what happens right now

#

anyways good night everyone

safe vapor
magic plaza
#

good night Alex

#

Sweet Dreams

#

lol

safe vapor
#

Oh he went offline

#

Ill fix this

magic plaza
#

please

#

i am also learning how to

#

do lua

#

you know Kurt lowe or someone

#

from udemy

#

i am learning from him

safe vapor
#

I have heard Kurt lowe

magic plaza
#

yeah that guy

safe vapor
#

However im learning from CrusherFire

magic plaza
#

oh okay

#

i got the Kurt lowe in good price

#

it is $88

#

but i got it for

#

$20 bucks

#

18 euros

safe vapor
#

Dang how many hours of content does he have?

magic plaza
#

24

#

he teaches everything

#

even how to use blender

safe vapor
#

Ah okay

#

Can I rewrite your datastore? I cant see through it at all

#

I can insert my DataStore that I use in my other Project

magic plaza
#

sure

#

i have to go

#

so i will leave it

#

afking

#

okay

#

@safe vapor Can you fix it today

safe vapor
#

Yea

magic plaza
#

cya

kindred brook
#

Fair cliant

magic plaza
#

Hello boy

#

I need help

kindred brook
#

No bye

magic plaza
#

please

#

man i have the only option

#

Please dude

#

Please