Honestly havn't scripted in a long time so it may be me but my research tells me Im doing something wrong or its just roblox being like that to me it wont even print "Firedfromhandle"
Script
local Player = game.Players.LocalPlayer
local PlayerName = Player.Name
function OnActivated()
print("Firedfromhandle")
game.ReplicatedStorage.Money.Add.Money["1$"]:FireServer(Player, PlayerName)
end
script.Parent.Activated:Connect(OnActivated)
Event
local FolderForDropMoney = game.ReplicatedStorage.Money.Add.Money
FolderForDropMoney["1$"].OnServerEvent:Connect(function(Player, PlayerName)
print("Fired")
if game.Workspace:FindFirstChild(PlayerName)["1"] then
game.Workspace:FindFirstChild(PlayerName)["1"]:Destroy()
Player.stats.Money.Value = Player.stats.Money.Value + 1
end
end)

3 comments
still wont work for some reason It doesnt print "Firedfromhandle" Im pretty sure its because of the local script
script.Parent is the tool correct?
Nevermind found my mistake but this did help with unnecessary stuff