Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 2 years ago
Edited 2 years ago

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)?
0
when i paste here there is a question mark at the end totosimamora608 61 — 2y

1 answer

Log in to vote
0
Answered by 2 years ago

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

Ad

Answer this question