Click to activate particle

Is there any possible way to make it so when you click anywhere on the baseplate a certain particle and sound play together where you click?

I want it so that these two items happen when I click anywhere:


I haven’t done much experimenting with this specific idea, so I can’t really find a way to do it well.
Any help is greatly appreciated!

you can use userinputservice to get if the player clicked and also take the mouse 3d position using

local plr = game.Players.LocalPlayer
local mouseposition = plr:GetMouse().Hit.p -- p means position

Yeah, but I think the issue is that he does not know how to make the particle appear in a specific spot in the 3D object. How to do that?

you can do it by adding a part in the mouse position and then parenting the particle into the invisible part you just added

1 Like

Unrelated but, did you make that yourself? it looks really cool.

2 Likes

try adding a attachment to the mouse position, and emitting and playing the sound whenever you click.

1 Like

It’s LocalPlayer:GetMouse(), not :GetMouse.

local Position = LocalPlayer:GetMouse().Hit.p

Yes, I did. I made it a while ago.

oh yes, right. i’m sorry, iwas doing something while typing that.