no, i use just Activated
beeep
no, i use just Activated
beeep
You can use activated and mouse click they are the same.
but i didnāt even connect Equipped function
Alright, i see now
Iāll find player by tool.Parent (GetPlayerFromCharacter) when player Activated tool
local equipped = false
tool.Equipped:Connect(function()
equipped = true
end)
Tool.Unequipped:Connect(function()
equipped = false
end)
Tool.Activated:Connect(function()
if equipped then
--Fire Remote
end
end)
No if you use remote then use get the player from OnServerEvent argument
remote.OnServerEvent(function(plr)
Why we need to check if tool is equipped i think it Activated would never fire if tool didnāt equipped
I use it always because I use mouse.Button1Down. I didnāt try it with activated .
but i use Activated! not mouse.Button1Down
How about reopening the topic? it have 49 Replys.
And still you donāt know the answer.
Why i need to reopening this topic?
Itās full now we reached 52 reply and still nothing is clear.
But i think everyone still can reply?
I think i will try to use Tool.Activated on Server
and get player by Tool.Parent everytime that tool got activated
Ok then itās up to you.
Now, you still didnāt try to make ray in server?
Like when the tool.Activated then it fire remote and server make everything.
i will make ray on server i guess
Anyway, Iāll report the result.
OMG, Thanks it worked!
Thanks to @Omb2a, @Syclya, @fastkingyaya, @Diltz_3, @StraightScared, @cjjdawg, @Hexcede, and @CodeJared for trying to help me to solve this question!