Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

i maked a script for my game ! but i want to when i click anyone then fire A_1?

Asked by 4 years ago
Edited 4 years ago
1local A_1 = "StandStill"
2local A_2 =
3{
4    [1] = game:GetService("Workspace").Live.iCrewx_YT -- like not to have to put the username but when i click anyone , then that fires
5}
6local Event = game:GetService("ReplicatedStorage").Events.Compulsion
7Event:FireServer(A_1, A_2)

1 answer

Log in to vote
1
Answered by
spectsy 16
4 years ago

Check mouse.hit or target, im not sure which one.

0
check the object browser for the mouse spectsy 16 — 4y
Ad

Answer this question