Here is what it says in the output: "12:35:22.258 - GetPlayerFromCharacter is not a valid member of Model"
The code is here:
script.Parent.Touched:connect(function(otherPart)
if not otherPart.Parent:WaitForChild("Humanoid") then end
local player = otherPart.Parent:GetPlayerFromCharacter()
player:Kick("Sucks to be you!")
end)
