function Start()
if script.Parent.Attack.Value.Value == "Laser eye" then
wait()
local Laser = game.Lighting.Laser:Clone()
Laser.Parent = script.Parent
Laser.Position = script.Parent.Position
Laser.Part.Position = script.Parent.Position
print("okkkk")
game.Debris:AddItem(Laser,.5)
print("Ok")
end
if script.Parent.Attack.Value.Value == "Laser Burst" then
wait(2)
local Laser = game.Lighting.Laser:Clone()
Laser.Parent = script.Parent
Laser.Position = script.Parent.Position
Laser.Part.Position = script.Parent.Position
print("okkkk")
game.Debris:AddItem(Laser,.5)
end
end
skill = {"Laser Eye","Laser Brust"}
script.Parent.Attack.Value.Value = skill[math.random(1,#skill)]
Start()
print("okoooo")
No errors in output. The lay out is Handle/Attack/Value

4 comments
You're comparing "Laser eye" to "Laser Eye" and "Laser Brust" to "Laser Burst".
No i havent made Laser burst its just for testing. WHta im having problem is when i do Start() the function wont run
what he is saying is, in the table for skill{} you have your data spelled incorrectly in relation to the 'if' functions on lines 03 and 14
What do you mean can u help me fix? I just started to use tabels so im not a pro at them