RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"create a fire ball attack"
-- server script local fireBall = script.Parent local function onTouched(otherPart) local player = game.Players:FindFirstChild(otherPart.Parent.Name) if player then local fire = Instance.new("Fire") fire.Parent = player.Character fire.Size = 5 fire.Heat = 15 fire.SecondaryColor = Color3.fromRGB(255, 0, 0) task.wait(3) fire:Destroy() end end fireBall.Touched:Connect(onTouched)