local banana = game.Workspace.banana function addFire (touch) local fire = Instance.new("Fire") fire.Size = 5 fire.Parent = banana.Touched end banana.Touched:Connect(addFire)
I'm new too scripting so I decided to learn about events. I started exploring on my own and wondered why this code won't work.
I changed your script a little bit!
Here it is:
local banana = game.Workspace.banana function addFire (touch) local fire = Instance.new("Fire") fire.Size = 5 fire.Parent = touch end banana.Touched:Connect(addFire)
Hope It Help!