So, I really like the games Critical Strike and Project Submus Accudo and am trying to make a class but with a simpler idea. I was hoping that my script would work, but I have never done this type of scripting before so i couldn't figure out what was going wrong. (FYI I had a script in a part and that part was in a tool)
here is my code:
local tool = script.Parent.Parent
local ball = script.Parent
local move = ball.BodyForce
tool.Equipped:Connect(function(plr)
local char = plr.Parent
if char then
print("part 1 done")
tool.Activated:Connect(function(plr)
print("part 2 done")
end)
end

4 comments
my question is why is it not printing what I told it to print?
because if you try to get "plr" from the function it'll return nil and character isnt the parent of player
but i took your script put it in my game, but it still has the problem of not printing "part 1 done" or "part 2 done"
The issue is that you're using a LocalScript.