Back in the day(when I used way more freemodels than I do now <- LOL) This giver used to work, I and many others can modify it in any other way to have any gear in it, now it's broken.
I want to know how to fix this script so this giver starts working again.
OLD CODE:
function onTouch(part)
local human = part.Parent:findFirstChild("Humanoid")
if (human ~= nil) and debounce == false then
debounce = true
local player = getPlayer(human)
if (player == nil) then return end
script.Parent:FindFirstChild("PMA-MORS-9"):clone().Parent = player.Backpack -- See the purple text? replace that with ur tool name
wait(2) ---the time in which the tool can be gave again =D
debounce = false
end
end
script.Parent.Touched:connect(onTouch)
The output says nothing about this but the script analysis says that getPlayer is an unknown global.
I don't know any other global that could replace this.

3 comments
the original script was made by Rafithesky before I edited it.
If this is the whole script, then getPlayer is undefined. You need to define it. From what I can tell, getPlayer probably attempts to get the player from a humanoid.
getPlayer probably used to get the player, I assume.