#How do i make a sort of client-sided hallucination?

1 messages · Page 1 of 1 (latest)

strange cypress
#

How do i make this sort of mechanic where it looks like on the client, a player is holding an item that isnt actually there? I dont wanna mess this up as i cant really test it in 2 player, but basically imagine this scenario:

A player is hallucinating,
Another player has a knife

The hallucinating player looks at them and sees that they dont have a knife but a gun or any other object in my game.

Is this possible? OR do you guys have any other ideas for a drawback for when a player hasnt done a task in a while

molten fox
#

yes

#

just make it so that the client puts a knife in the hallucinating players inventory

#

the client not server

#

oh wait

#

i read it wrong

molten fox
strange cypress
molten fox
#

what cloning part

viscid compassBOT
#

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

strange cypress
strange cypress
thin tide
#

maybe you have a million tabs open

molten fox
#

ye

strange cypress
molten fox
#

or maybe mcaffe

strange cypress
molten fox
#

ok

strange cypress
molten fox
#

go to task view

#

uh

#

no

strange cypress
#

The only problem is that, it sure runs but the objects gets.. distorted

molten fox
#

i mean

#

uh

molten fox
#

ur gpu might be fried

#

maybe

#

but i doubt

strange cypress
#

weird 😭

molten fox
#

uh

#

u might have gpu issues

strange cypress
#

The display gets glitchy aswell

#

i had t olike

#

IMMEDIETELY close roblox studio

thin tide
#

potato pc

molten fox
#

what gpu u got?

strange cypress
molten fox
#

2014 gpu😭

strange cypress
#

yup..

molten fox
#

thats why u cant playtest

#

u can i think

#

uh

thin tide
strange cypress
molten fox
#

UR GONNA FRY IT STOP

#

might as well be a fire hazard

strange cypress
#

Please

strange cypress
#

Just give me an advice

#

😢

#

im doing this blindy

molten fox
#

idk

#

uh

thin tide
molten fox
#

use your phone and a lt

#

alt

molten fox
#

gpu is fried

strange cypress
#

i dont think theres any fix

#

its GAME OVER!

molten fox
#

ye

near arrow
#

go to bios and turn on xmpp

molten fox
#

get a new gpu

strange cypress
#

ddude

#

i jsut wanna know

#

how to make a hallucination

near arrow
#

just do it on client

strange cypress
#

ill probably test this on my laptop tomorrow cause it can actually support 2 player testing

molten fox
#

dont do it

near arrow
#

who needs to get hallucation

molten fox
strange cypress
strange cypress
molten fox
#

no

strange cypress
#

Cause knife was just a brief example of a tool

molten fox
#

just destory it

#

with a remote evnt

near arrow
molten fox
#

server to client

strange cypress
#

Basically, If your mood gets too low you start hallucinating objects on players hand, ex; knife, revolver, basically any tools with the HandleRequired property set to true

#

Do you have any ideas how to do this without bugging out live-test or do you have any other ideas for a draw back?

#

As my plan is to basically destroy one sense is "observation"

near arrow
#

loop through workspace:GetDesecendants and check if its tool and if it has property handlerequired set to true

molten fox
#

better is go trough players and if they have a tool in their inventory or their character destory jt

near arrow
#

only in workspace

molten fox
#

yes

#

u can get the players character

#

with player.Character

strange cypress
#

Again, If theres not really much of a solution if you guys have any ideas for other drawbacks please tell me sad

near arrow
#

oh yea you can do that too

molten fox
#

its the best way

strange cypress
#

I do know about that and know how to make it but the problem is, If theres any other solutions as mine might be buggy cause im blindly scripting this

strange cypress
#

bump!

thin tide
#

that's why you start with a prototype

#

prove a concept works then refactor into something useful in production

strange cypress
strange cypress
#

playtesters has been getting annoyed on HOW much i restart my games server due to a bug

#

💔

thin tide
strange cypress
#

Or am i tripping?

thin tide
strange cypress
#

Do i just have to clone the default Animate local script on them

#

fair nuff

thin tide
thin tide
#

main thing you need to do is just to play with it and find out how it works

#

e.g give the npc a tool, change the tool on the client, then give the npc a new tool

#

and see what happens

#

whatever happens there just build code around it