Hey guys I know I havent posted at all, I have been more of learning LUA then anything else over the years. But I used to script LUA for a server and now I scripted a few bosses and the scripts are not loading/ not working. The owner says the console gives an error saying Symbol and greek letters. I found this was from Notepad so i reconverted it properly but it still is not loading. Below is the script, any help would be greatly appreciated.
function Vulcan_onSpawn(pUnit,event)
pUnit:CastSpell(3868
pUnit:RemoveEvents()
end
function Vulcan_onCombat(pUnit,event)
pUnit:CastSpell(40594)
pUnit:SendChatMessage(14,0,"Feel my Wrath!")
pUnit:RemoveEvents()
pUnit:RegisterEvent(“Vulcan_onCombat”, 1000, 1)
end
function Vulcan_80(pUnit,event)
if pUnit:GetHealth() <=80 then
pUnit:FullCastSpellOnTarget(29973,pUnit:GetRandomPlayer(4))
pUnit:FullCastSpellOnTarget(65262,pUnit:GetClosestPlayer(4) )
pUnit:CastSpell(50009)
pUnit:SendChatMessage(14,0,"You honestly think you stand a chance?")
pUnit:RemoveEvents()
pUnit:RegisterEvent(“Vulcan_80”, 1000000, 3)
end
function Vulcan_50(pUnit,event)
if pUnit:GetHealth() <=50 then
pUnit:FullCastSpellOnTarget(63934,pUnit:GetMainTank())
pUnit:FullCastSpellOnTarget(29964,pUnit:GetMainTank())
pUnit:CastSpell(38373)
pUnit:SendChatMessage(14,0,"I shall Avenge my brothers!")
pUnit:RemoveEvents()
pUnit:RegisterEvent(“Vulcan_50”, 352000, 3)
end
function Vulcan_30(pUnit,event)
if pUnit:GetHealth() <=30 then
pUnit:CastSpell(16421)
pUnit:FullCastSpellOnTarget(19821,pUnit:GetRandomPlayer(4))
pUnit:FullCastSpellOnTarget(64663,pUnit:GetMainTank())
pUnit_SendChatMessage(14,0,"")
pUnit:RemoveEvents()
pUnit:RegisterEvent(“Vulcan_30”, 14520120, 4)
end
function Vulcan_10(pUnit,event)
if pUnit:GetHealth() <=10 then
pUnit:FullCastSpellOnTarget(47346,pUnit:GetClosestPlayer() )
pUnit:FullCastSpellOnTarget(51609,pUnit:GetClosestPlayer() )
pUnit:FullCastSpellOnTarget(57912,pUnit:GetRandomPlayer(4))
pUnit_SendChatMessage(14,0,"Need more POWER!")
pUnit:RemoveEvents()
pUnit:RegisterEvent(“Vulcan”, 540000, 3)
end
function Vulcan_onDeath(pUnit,event)
pUnit:CastSpell(60072)
pUnit:SendChatMessage(14,0,"I have Fallen, But I shall return!")
pUnit:RemoveEvents()
pUnit:RemoveAuras()
end
RegisterUnitEvent(820562, 1, “Vulcan_onCombat”)
RegisterUnitEvent(820562, 6, “Vulcan_onSpawn”)
RegisterUnitEvent(820562, 4, “Vulcan_onDeath”)