I am not a beginner scripter, but sometimes when I script something very simple and easy for me to understand. Sometimes it just doesn’t work. I’m putting this in a tool, when it is activated, it is supposed to print something, but its literally not working. I don’t understand what the problem is here, I don’t think I misspelled anything. Is this a bug? Or did I just didn’t notice something?
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local SummonEvent = ReplicatedStorage:FindFirstChild("SummonUnit")
local UnitName = script.Parent.Name
local Tool = script.Parent
Tool.Activated:Connect(function()
print("Ye")
end)