Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Expected identifier when parsing expression, got Unicode character U+feff Line 11?

Error: Workspace.Part.Script:11: Expected identifier when parsing expression, got Unicode character U+feff

Script:

local debounce = false
game.Workspace.HealingPad.Touched:Connect(function(hit)
 if hit.Parent:FindFirstChild("Humanoid") then
  if not debounce then
   debounce = true
        hit.Parent.Humanoid.Health = hit.Parent.Humanoid.MaxHealth
        wait(2)
   debounce = false
  end
 end
end)?

1 comment

0

when i paste here there is a question mark at the end

1 answer

so i searched Unicode Character (U+FEFF) on google its this : Zero Width No-Break Space (BOM, ZWNBSP)

idk what is that but i remade the script and it works fine

This discussion is preserved as it was. New answers, comments, and votes are closed.