(Here is the script in explorer and his properties.)
local part = script.Parent
local player = game.Players.LocalPlayer.Character
local function onTouch(player)
print(game.Players.LocalPlayer.Name.." is becoming "..script.Parent.Name)
game.Players.LocalPlayer.PlayerGui.FurryMeter.FurryValue.Value += 1
end
local function onTouchEnded(player)
end
part.Touched:Connect(onTouch)
part.TouchEnded:Connect(onTouchEnded)
BTW the instance in Touched is a part, not a player.
local part = script.Parent
local player = game.Players.LocalPlayer
local function onTouch(touchpart)
if touchpart.Parent == player.Character then
print(player.Name.." is becoming "..part.Name)
player.PlayerGui.FurryMeter.FurryValue.Value += 1
end
end
part.Touched:Connect(onTouch)
I also noticed that you’re doing this in client side, not sure how it will work but I don’t think it should work like that.